package com.ruoyi.library.api.params.TwinRelationInfo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 孪生体关联信息新增or修改参数
 *
 * @author ZhangYu
 * @date 2024-04-30
 */
@Data
@ApiModel(value = "TwinRelationInfoParams", description = "孪生体关联信息新增or修改参数")
public class TwinRelationInfoParams {

    /**
     * 孪生id
     */
    @NotNull(message = "孪生id不能为空")
    @ApiModelProperty("孪生id")
    private Long twinId;

    /**
     * 资产id
     */
    @ApiModelProperty("资产id")
    private Long assetsId;

    /**
     * 构件id
     */
    @ApiModelProperty("构件id")
    private Long componentId;

    /**
     * 模型id
     */
    @ApiModelProperty("模型id")
    private Long modeId;

    /**
     * 业务id
     */
    @ApiModelProperty("业务id")
    private Long businessId;

    /**
     * 空间id
     */
    @ApiModelProperty("空间id")
    private Long spaceId;

}
